package com.example.core.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "smartAnt", url = "http://127.0.0.1:8080/smartAnt")
public interface TestFeignService {

    @PostMapping("/test/getmsg")
    public String getTest(@RequestBody String value);
}
